﻿
namespace Codemonk.Common.Logging
{

    public sealed class DiagnosticLogFactory : ILogFactory
    {
        private static ILog log;


        public ILog Get(string name = null)
        {
            return log == null ? (log = new DiagnosticLog()) : log;
        }
    }
}
